<?php

namespace common\models;


use yii\db\ActiveRecord;

class SupplierAttributeDeion extends ActiveRecord
{
    public static function tableName()
    {
        return 'supplier_attribute_deion';
    }

    public function rules()
    {
        return [
            [['id','create_time','update_time','goods_id'],'integer'],
            [['key','val'],'string']
        ];
    }

    public function attributeLabels()
    {
        return [
            'id' => 'id',
            'goods_id' => 'goods_id',
            'key' => '属性名',
            'val' => 'val',
            'create_time' => '创建时间',
            'update_time' => '更新时间]',
        ];
    }

}